JavaScript
mapControl.setZoom Method
Syntax
mapObj.setZoom(zoomScale);
Arguments
- zoomScalenumber
A value between 0 (whole earth) and 20 (a few square yards.)
Description
Set the zoom scale for a Map Control.
Example
//get a pointer to the map control for variable 'mymap1' var mapObj = {dialog.object}.getControl('mymap1'); if (mapObj) { mapObj.setZoom(3); }